package com.gec.model.system;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableName;
import com.gec.model.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author dafei
 * @since 2024-01-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("itrip_sights_order")
public class ITripSightsOrder extends BaseEntity {

    private static final long serialVersionUID = 1L;



    /**
     * 用户id
     */
    @TableField("userId")
    private Long userId;

    /**
     * 用户名
     */
    @TableField(exist = false)
    private String username;

    /**
     * 景点id
     */
    @TableField("sightsId")
    private Long sightsId;

    /**
     * 景点名称
     */
    @TableField(exist = false)
    private String sightsName;

    /**
     * 订单状态（0：待支付 1:已取消 2:支付成功 3:已消费 4：已点评）
     */
    @TableField("isPaid")
    private Integer isPaid;

    /**
     * 价格
     */
    @TableField("price")
    private BigDecimal price;

    /**
     * 票数
     */
    @TableField("number")
    private Long number;

    @TableField("time")
    private String time;
}
